﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BE3 RID: 3043
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyUpgradeAssetCsReq : IMessage<MonopolyUpgradeAssetCsReq>, IMessage, IEquatable<MonopolyUpgradeAssetCsReq>, IDeepCloneable<MonopolyUpgradeAssetCsReq>, IBufferMessage
	{
		// Token: 0x1700264F RID: 9807
		// (get) Token: 0x06008815 RID: 34837 RVA: 0x0016949C File Offset: 0x0016769C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyUpgradeAssetCsReq> Parser
		{
			get
			{
				return MonopolyUpgradeAssetCsReq._parser;
			}
		}

		// Token: 0x17002650 RID: 9808
		// (get) Token: 0x06008816 RID: 34838 RVA: 0x001694A3 File Offset: 0x001676A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyUpgradeAssetCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002651 RID: 9809
		// (get) Token: 0x06008817 RID: 34839 RVA: 0x001694B5 File Offset: 0x001676B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyUpgradeAssetCsReq.Descriptor;
			}
		}

		// Token: 0x06008818 RID: 34840 RVA: 0x001694BC File Offset: 0x001676BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetCsReq()
		{
		}

		// Token: 0x06008819 RID: 34841 RVA: 0x001694C4 File Offset: 0x001676C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetCsReq(MonopolyUpgradeAssetCsReq other) : this()
		{
			this.lNDLACLKFHK_ = other.lNDLACLKFHK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600881A RID: 34842 RVA: 0x001694E9 File Offset: 0x001676E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyUpgradeAssetCsReq Clone()
		{
			return new MonopolyUpgradeAssetCsReq(this);
		}

		// Token: 0x17002652 RID: 9810
		// (get) Token: 0x0600881B RID: 34843 RVA: 0x001694F1 File Offset: 0x001676F1
		// (set) Token: 0x0600881C RID: 34844 RVA: 0x001694F9 File Offset: 0x001676F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LNDLACLKFHK
		{
			get
			{
				return this.lNDLACLKFHK_;
			}
			set
			{
				this.lNDLACLKFHK_ = value;
			}
		}

		// Token: 0x0600881D RID: 34845 RVA: 0x00169502 File Offset: 0x00167702
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyUpgradeAssetCsReq);
		}

		// Token: 0x0600881E RID: 34846 RVA: 0x00169510 File Offset: 0x00167710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyUpgradeAssetCsReq other)
		{
			return other != null && (other == this || (this.LNDLACLKFHK == other.LNDLACLKFHK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600881F RID: 34847 RVA: 0x00169540 File Offset: 0x00167740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LNDLACLKFHK != 0U)
			{
				num ^= this.LNDLACLKFHK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008820 RID: 34848 RVA: 0x0016957F File Offset: 0x0016777F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008821 RID: 34849 RVA: 0x00169587 File Offset: 0x00167787
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008822 RID: 34850 RVA: 0x00169590 File Offset: 0x00167790
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LNDLACLKFHK != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.LNDLACLKFHK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008823 RID: 34851 RVA: 0x001695C4 File Offset: 0x001677C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LNDLACLKFHK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LNDLACLKFHK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008824 RID: 34852 RVA: 0x00169602 File Offset: 0x00167802
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyUpgradeAssetCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LNDLACLKFHK != 0U)
			{
				this.LNDLACLKFHK = other.LNDLACLKFHK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008825 RID: 34853 RVA: 0x00169633 File Offset: 0x00167833
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008826 RID: 34854 RVA: 0x0016963C File Offset: 0x0016783C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.LNDLACLKFHK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040033C4 RID: 13252
		private static readonly MessageParser<MonopolyUpgradeAssetCsReq> _parser = new MessageParser<MonopolyUpgradeAssetCsReq>(() => new MonopolyUpgradeAssetCsReq());

		// Token: 0x040033C5 RID: 13253
		private UnknownFieldSet _unknownFields;

		// Token: 0x040033C6 RID: 13254
		public const int LNDLACLKFHKFieldNumber = 3;

		// Token: 0x040033C7 RID: 13255
		private uint lNDLACLKFHK_;
	}
}
